package com.education.student.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.education.common.annotation.Excel;
import com.education.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 edu_student_task
 * 
 * @author education
 * @date 2024-08-11
 */
public class EduStudentTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** （0正常 1停用） */
    @Excel(name = "", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 任务id */
    @Excel(name = "任务id")
    private Long taskId;

    /** 所得分数 */
    @Excel(name = "所得分数")
    private Long score;

    /** 图片形式答案 */
    @Excel(name = "图片形式答案")
    private String answer;

    /** 任务状态（0审核中 1审核通过 2不通过） */
    @Excel(name = "任务状态", readConverterExp = "0=审核中,1=审核通过,2=不通过")
    private String taskStatus;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setScore(Long score) 
    {
        this.score = score;
    }

    public Long getScore() 
    {
        return score;
    }
    public void setAnswer(String answer) 
    {
        this.answer = answer;
    }

    public String getAnswer() 
    {
        return answer;
    }
    public void setTaskStatus(String taskStatus) 
    {
        this.taskStatus = taskStatus;
    }

    public String getTaskStatus() 
    {
        return taskStatus;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("status", getStatus())
            .append("taskId", getTaskId())
            .append("score", getScore())
            .append("answer", getAnswer())
            .append("taskStatus", getTaskStatus())
            .append("userId", getUserId())
            .toString();
    }
}
